<template>
    <div>
        <h2>修改</h2>
        <table class="table table-bordered">
            <tbody>
                <tr>
                    <td>类型</td>
                    <td><input type="text" value="代金优惠卷"></td>
                </tr>
                <tr>
                    <td>标题</td>
                    <td><input type="text" value="酒店优惠"></td>
                </tr>
                <tr>
                    <td>副标题</td>
                    <td><input type="text" value="昌平南口区"></td>
                </tr>
                <tr>
                    <td>图片</td>
                    <td>
                        <input type="file" >
                        <img src="/src/img/441996B04DEAF33EA7379EAF0E149975.jpg" width="100px">
                    </td>
                </tr>
                <tr>
                    <td>剩余库存</td>
                    <td><input type="text" value="100"></td>
                </tr>
                <tr>
                    <td>每人限领</td>
                    <td><input type="text" value="1"></td>
                </tr>
                <tr>
                    <td>使用条件</td>
                    <td><input type="text" value="￥3000.00"></td>
                </tr>
                <tr>
                    <td>减免金额</td>
                    <td><input type="text" value="￥500.00"></td>
                </tr>
                <tr>
                    <td>时间</td>
                    <td><input type="date"></td>
                </tr>
               
                <tr>
                    <td> 使用须知</td>
                    <td><textarea >无
        
                    </textarea></td>
                </tr>
                <tr>
                    <td>适用门店</td>
                    <td><input type="text" value="南口店"></td>
                </tr>
                <tr>
                    <td>服务电话</td>
                    <td><input type="text" value="12345678910"></td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <button @click="upxiu" >修改</button>
                    </td>
                </tr>
               
            </tbody>
        </table>
    </div>
</template>


<script setup lang="ts">
import axios from "axios";
import { onMounted, reactive, ref, toRef } from "vue";
import { useRouter } from "vue-router";
import "bootstrap/dist/css/bootstrap.min.css"
import router from "@/router";
const upxiu=()=>{
    alert("修改成功");
    
}

</script>

<style scoped>

</style>